﻿@using Masa.Stack.Components
@using Masa.Stack.Components.Models
@inherits LayoutComponentBase

<SLayout AppId="auth-web-dev" OnSignOut="SignOut" WhiteUris="_whiteUris" TeamRouteFormat="team/{0}" IsShowEnvironmentSwitch=true
         Logo="https://cdn.masastack.com/stack/images/logo/MASAStack/logo-h-en.png"
         MiniLogo="https://cdn.masastack.com/stack/images/logo/MASAStack/logo.png"
         Class="fill-height">
    @Body
</SLayout>

@code {
    List<string> _whiteUris = new();

    public MainLayout()
    {
        _whiteUris = new List<string> { "http://www.baidu.com", "/users/*", "/products/details/*" };
    }

    private bool SignOut()
    {
        return false;
    }

}
